package com.ks.config.dao.mapper.basicConfig;

import com.ks.config.domain.dto.ConfigDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BasicConfigMapper {

    int add(ConfigDO configDO);

    int deleteByKey(String config_key);

    int deleteById(long id);

    int updateConfig(ConfigDO configDO);

    ConfigDO listByKey(String config_key);

    List<ConfigDO> listAllConfig();
}
